package com.ruoyi.project.bajiaostar.user;

import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.framework.aspectj.lang.annotation.Log;
import com.ruoyi.framework.aspectj.lang.enums.BusinessType;
import com.ruoyi.framework.web.controller.BaseController;
import com.ruoyi.framework.web.domain.AjaxResult;
import com.ruoyi.framework.web.page.TableDataInfo;
import com.ruoyi.project.bajiaostar.jbhWepicture.domain.JbhWepicture;
import com.ruoyi.project.bajiaostar.jbhWepicture.service.IJbhWepictureService;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.*;

import java.util.List;

/**
 * 网站图片Controller
 * 
 * @author 写烧糊
 * @date 2024-07-18
 */
@Controller
@RequestMapping("/nt/jbhWepicture")
public class WebWepictureController extends BaseController
{

    @Autowired
    private IJbhWepictureService jbhWepictureService;

    /**
     * 查询网站图片列表
     */
    @PostMapping("/list")
    @ResponseBody
    public AjaxResult list(@RequestBody  JbhWepicture jbhWepicture)
    {
        List<JbhWepicture> list = jbhWepictureService.selectJbhWepictureList(jbhWepicture);
        return AjaxResult.success(list);
    }


}
